home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DDJ0992.ARJ / DFLATMSG.H < prev    next >
Text File  |  1992-01-24  |  6KB  |  105 lines

  1. /* ----------- dflatmsg.h ------------ */
  2.  
  3. /*
  4.  * message foundation file
  5.  * make message changes here
  6.  * other source files will adapt
  7.  */
  8.  
  9. /* -------------- process communication messages ----------- */
  10. DFlatMsg(START)              /* start message processing     */
  11. DFlatMsg(STOP)               /* stop message processing      */
  12. DFlatMsg(COMMAND)            /* send a command to a window   */
  13. /* -------------- window management messages --------------- */
  14. DFlatMsg(CREATE_WINDOW)      /* create a window              */
  15. DFlatMsg(SHOW_WINDOW)        /* show a window                */
  16. DFlatMsg(HIDE_WINDOW)        /* hide a window                */
  17. DFlatMsg(CLOSE_WINDOW)       /* delete a window              */
  18. DFlatMsg(SETFOCUS)           /* set and clear the focus      */
  19. DFlatMsg(PAINT)              /* paint the window's data space*/
  20. DFlatMsg(BORDER)             /* paint the window's border    */
  21. DFlatMsg(TITLE)              /* display the window's title   */
  22. DFlatMsg(MOVE)               /* move the window              */
  23. DFlatMsg(SIZE)               /* change the window's size     */
  24. #ifdef INCLUDE_MAXIMIZE
  25. DFlatMsg(MAXIMIZE)           /* maximize the window          */
  26. #endif
  27. #ifdef INCLUDE_MINIMIZE
  28. DFlatMsg(MINIMIZE)           /* minimize the window          */
  29. #endif
  30. DFlatMsg(RESTORE)            /* restore the window           */
  31. DFlatMsg(INSIDE_WINDOW)      /* test x/y inside a window     */
  32. /* ---------------- clock messages ------------------------- */
  33. DFlatMsg(CLOCKTICK)          /* the clock ticked             */
  34. DFlatMsg(CAPTURE_CLOCK)      /* capture clock into a window  */
  35. DFlatMsg(RELEASE_CLOCK)      /* release clock to the system  */
  36. /* -------------- keyboard and screen messages ------------- */
  37. DFlatMsg(KEYBOARD)           /* key was pressed              */
  38. DFlatMsg(CAPTURE_KEYBOARD) /* capture keyboard into a window */
  39. DFlatMsg(RELEASE_KEYBOARD)   /* release keyboard to system   */
  40. DFlatMsg(KEYBOARD_CURSOR)    /* position the keyboard cursor */
  41. DFlatMsg(CURRENT_KEYBOARD_CURSOR) /*read the cursor position */
  42. DFlatMsg(HIDE_CURSOR)        /* hide the keyboard cursor     */
  43. DFlatMsg(SHOW_CURSOR)        /* display the keyboard cursor  */
  44. DFlatMsg(SAVE_CURSOR)      /* save the cursor's configuration*/
  45. DFlatMsg(RESTORE_CURSOR)     /* restore the saved cursor     */
  46. DFlatMsg(SHIFT_CHANGED)      /* the shift status changed     */
  47. DFlatMsg(WAITKEYBOARD)     /* waits for a key to be released */
  48. /* ---------------- mouse messages ------------------------- */
  49. DFlatMsg(RESET_MOUSE)        /* reset the mouse              */
  50. DFlatMsg(MOUSE_TRAVEL)       /* set the mouse travel         */
  51. DFlatMsg(MOUSE_INSTALLED)    /* test for mouse installed     */
  52. DFlatMsg(RIGHT_BUTTON)       /* right button pressed         */
  53. DFlatMsg(LEFT_BUTTON)        /* left button pressed          */
  54. DFlatMsg(DOUBLE_CLICK)       /* left button double-clicked   */
  55. DFlatMsg(MOUSE_MOVED)        /* mouse changed position       */
  56. DFlatMsg(BUTTON_RELEASED)    /* mouse button released        */
  57. DFlatMsg(CURRENT_MOUSE_CURSOR)/* get mouse position          */
  58. DFlatMsg(MOUSE_CURSOR)       /* set mouse position           */
  59. DFlatMsg(SHOW_MOUSE)         /* make mouse cursor visible    */
  60. DFlatMsg(HIDE_MOUSE)         /* hide mouse cursor            */
  61. DFlatMsg(WAITMOUSE)          /* wait until button released   */
  62. DFlatMsg(TESTMOUSE)          /* test any mouse button pressed*/
  63. DFlatMsg(CAPTURE_MOUSE)      /* capture mouse into a window  */
  64. DFlatMsg(RELEASE_MOUSE)      /* release the mouse to system  */
  65. /* ---------------- text box messages ---------------------- */
  66. DFlatMsg(ADDTEXT)            /* append text to the text box  */
  67. DFlatMsg(INSERTTEXT)         /* insert line of text          */
  68. DFlatMsg(DELETETEXT)         /* delete line of text          */
  69. DFlatMsg(CLEARTEXT)          /* clear the edit box           */
  70. DFlatMsg(SETTEXT)            /* copy text to text buffer     */
  71. DFlatMsg(SCROLL)             /* vertical line scroll         */
  72. DFlatMsg(HORIZSCROLL)        /* horizontal column scroll     */
  73. DFlatMsg(SCROLLPAGE)         /* vertical page scroll         */
  74. DFlatMsg(HORIZPAGE)          /* horizontal page scroll       */
  75. DFlatMsg(SCROLLDOC)          /* scroll to beginning/end      */
  76. /* ---------------- edit box messages ---------------------- */
  77. DFlatMsg(GETTEXT)            /* get text from an edit box    */
  78. DFlatMsg(SETTEXTLENGTH)         /* set maximum text length      */
  79. /* ---------------- menubar messages ----------------------- */
  80. DFlatMsg(BUILDMENU)          /* build the menu display       */
  81. DFlatMsg(MB_SELECTION)       /* menubar selection            */
  82. /* ---------------- popdown messages ----------------------- */
  83. DFlatMsg(BUILD_SELECTIONS)   /* build the menu display       */
  84. DFlatMsg(CLOSE_POPDOWN)    /* tell parent popdown is closing */
  85. /* ---------------- list box messages ---------------------- */
  86. DFlatMsg(LB_SELECTION)       /* sent to parent on selection  */
  87. DFlatMsg(LB_CHOOSE)          /* sent when user chooses       */
  88. DFlatMsg(LB_CURRENTSELECTION)/* return the current selection */
  89. DFlatMsg(LB_GETTEXT)         /* return the text of selection */
  90. DFlatMsg(LB_SETSELECTION)    /* sets the listbox selection   */
  91. /* ---------------- dialog box messages -------------------- */
  92. DFlatMsg(INITIATE_DIALOG)    /* begin a dialog               */
  93. DFlatMsg(ENTERFOCUS)         /* tell DB control got focus    */
  94. DFlatMsg(LEAVEFOCUS)         /* tell DB control lost focus   */
  95. DFlatMsg(ENDDIALOG)          /* end a dialog                 */
  96. /* ---------------- help box messages ---------------------- */
  97. DFlatMsg(DISPLAY_HELP)
  98. /* --------------- application window messages ------------- */
  99. DFlatMsg(ADDSTATUS)
  100. /* --------------- picture box messages -------------------- */
  101. DFlatMsg(DRAWVECTOR)
  102. DFlatMsg(DRAWBOX)
  103. DFlatMsg(DRAWBAR)
  104.  
  105.